/*
 * @(#)SimpleTestItemWriter.java $version 2012. 8. 6.
 *
 * Copyright 2007 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.board.batch;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.batch.item.ItemWriter;

/**
 * @author hs
 */
public class SimpleTestItemWriter implements ItemWriter<HashMap<String, String>> {

	/**
	 * @param arg0
	 * @throws Exception
	 * @see org.springframework.batch.item.ItemWriter#write(java.util.List)
	 */
	public void write(List<? extends HashMap<String, String>> items) throws Exception {
		for (Map<String, String> item : items) {
			System.err.println("## " + item.get("user_nm"));
		}
	}
}
